package cn.cdeden.knowledge.service;

import cn.cdeden.knowledge.domain.FilesDistributeTree;
import cn.cdeden.knowledge.domain.dto.TeamFilesTreeDto;
import cn.cdeden.knowledge.domain.vo.PersonalFilesTreeVo;
import com.baomidou.mybatisplus.extension.service.IService;
import io.undertow.util.BadRequestException;

public interface FilesDistributeTreeService extends IService<FilesDistributeTree>{

    void copyToPersonalLibByTreeVo(String id,String specifyParentId) throws BadRequestException;



    FilesDistributeTree insertByPersonalFilesTreeVo(PersonalFilesTreeVo personalFilesTreeVo, Integer distributeId);

    FilesDistributeTree insertByTeamFilesTree(TeamFilesTreeDto teamFilesTreeDto, Integer distributeId);
}
